package com.wus.system;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@MapperScan(basePackages = "com.wus.system.mapper")
// 扫描common包下的类, 解决Mapstruct cannot find converter from xxx to xxx，可能编译生成的类无法自动扫描到
@SpringBootApplication(scanBasePackages = {"com.wus.system","com.wus.common"})
public class SystemApplication {

	public static void main(String[] args) {
		SpringApplication.run(SystemApplication.class, args);
	}

}
